package test.exception;

public class exception1 {

    public static void main(String[] args) {

        int max = 0x7fffffff;

        System.out.println(max - 8);

        String s = null;
        try {
            s = testException();
            System.out.println(s);
        } catch (Exception e) {
            e.printStackTrace();
        }

    }

    private static String testException() throws Exception {

        String[] s = new String[]{"hello, exception"};

        System.out.println(s[1]);

        return null;
    }

}
